package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel("BasicOrganization")
@Table("basic_organization")
public class BasicOrganization implements Serializable {

    @ApiModelProperty(value = "组织排序", name = "organSort")
    @Column(value = "organ_sort", text = "组织排序", maxLength = 5)
    private Integer organSort;


    @ApiModelProperty(value = "组织图片", name = "organImg")
    @Column(value = "organ_img", text = "组织图片", maxLength = 200)
    private String organImg;


    @ApiModelProperty(value = "负责人电话", name = "organUserPhone")
    @Column(value = "organ_user_phone", text = "负责人电话", maxLength = 30)
    private String organUserPhone;


    @ApiModelProperty(value = "组织类型", name = "organType")
    @Column(value = "organ_type", text = "组织类型", maxLength = 50)
    private String organType;


    @ApiModelProperty(value = "备注", name = "memo")
    @Column(value = "memo", text = "备注", maxLength = 32767)
    private String memo;


    @ApiModelProperty(value = "组织名称", name = "organName")
    @Column(value = "organ_name", text = "组织名称", maxLength = 100)
    private String organName;


    @ApiModelProperty(value = "上级组织", name = "organParentId")
    @Column(value = "organ_parent_id", text = "上级组织", maxLength = 32)
    private BasicOrganization organParentId;


    @ApiModelProperty(value = "组织机构电话", name = "organTel")
    @Column(value = "organ_tel", text = "组织机构电话", maxLength = 30)
    private String organTel;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;


    @ApiModelProperty(value = "创建人", name = "createUser")
    @Column(value = "create_user", text = "创建人", maxLength = 32)
    private String createUser;


    @ApiModelProperty(value = "状态", name = "state")
    @Column(value = "state", text = "状态", maxLength = 5)
    private String state;


    @ApiModelProperty(value = "创建时间", name = "createDate")
    @Column(value = "create_date", text = "创建时间", maxLength = 30)
    private Date createDate;


    @ApiModelProperty(value = "负责人姓名", name = "organUserName")
    @Column(value = "organ_user_name", text = "负责人姓名", maxLength = 30)
    private String organUserName;


    @ApiModelProperty(value = "组织编码", name = "organCode")
    @Column(value = "organ_code", text = "组织编码", maxLength = 100)
    private String organCode;

    public Integer getOrganSort() {
        return organSort;
    }

    public void setOrganSort(Integer organSort) {
        this.organSort = organSort;
    }

    public String getOrganImg() {
        return organImg;
    }

    public void setOrganImg(String organImg) {
        this.organImg = organImg;
    }

    public String getOrganUserPhone() {
        return organUserPhone;
    }

    public void setOrganUserPhone(String organUserPhone) {
        this.organUserPhone = organUserPhone;
    }

    public String getOrganType() {
        return organType;
    }

    public void setOrganType(String organType) {
        this.organType = organType;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public BasicOrganization getOrganParentId() {
        return organParentId;
    }

    public void setOrganParentId(BasicOrganization organParentId) {
        this.organParentId = organParentId;
    }

    public String getOrganTel() {
        return organTel;
    }

    public void setOrganTel(String organTel) {
        this.organTel = organTel;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getOrganUserName() {
        return organUserName;
    }

    public void setOrganUserName(String organUserName) {
        this.organUserName = organUserName;
    }

    public String getOrganCode() {
        return organCode;
    }

    public void setOrganCode(String organCode) {
        this.organCode = organCode;
    }
}
